package com.motong.gongdan.entity;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author:fff
 * @time:2022/3/7
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "work_report")
public class WorkReport extends PublicPo{
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("mission_id")
    private Integer missionId;
    @TableField("report_number")
    private BigDecimal reportNumber;
    @TableField("pricing_method")
    private Integer pricingMethod;
    @TableField("wages_id")
    private Integer wagesId;
    @TableField("good_product_number")
    private BigDecimal goodProductNumber;
    @TableField("bad_product_number")
    private BigDecimal badProductNumber;
    @TableField("produce_user")
    private Integer produceUser;
    @TableField("report_start_time")
    private Date reportStartTime;
    @TableField("report_end_time")
    private Date reportEndTime;
    @TableField("verify_state")
    private Integer verifyState;
    @TableField("verify_time")
    private Date verifyTime;
    @TableField("unfinished_reason")
    private String unfinishedReason;
    @TableField("verify_user")
    private Integer verifyUser;
    @TableField("estimate_wage")
    private BigDecimal estimateWage;
    @TableField(updateStrategy = FieldStrategy.IGNORED,value = "other")
    private String other;
    @TableField("actual_efficiency")
    private String actualEfficiency;
    @TableField("standard_rate")
    private String standardRate;
    @TableField("standard_efficiency")
    private String standardEfficiency;
    @TableField(exist = false)
    private JSONArray customFieldMess;

    //创建报工的时间（时分）
    @TableField("create_time")
    private String createTime;
}
